﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace EYWeb.Core.Cache
{
    public interface ICache 
    {
        T GetCache<T>(string cacheKey);
        void WriteCache<T>(string cacheKey, T value);
        void WriteCache<T>(string cacheKey, T value, DateTime expireTime);
        void RemoveCache(string cacheKey);
        void RemoveCache();

    }
}
